﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Intrinsics.X86;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 销售出库
    /// </summary>
    /// 

    public class SaleOutboundDTO
    {
        public int total { get; set; }
        public bool success { get; set; }
        public List<SaleOutbound_Rows> rows { get; set; }

    }

    public class SaleOutbound_Rows
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public string date { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string customerName { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public string amount { get; set; }
        /// <summary>
        /// 币别
        /// </summary>
        public string currency { get; set; }

        /// <summary>
        /// 汇率
        /// </summary>
        public string exchangeRate { get; set; }
        /// <summary>
        /// 付款期限
        /// </summary>
        public string paymentTerm { get; set; }
        /// <summary>
        /// 付款状态
        /// </summary>
        public string payment { get; set; }
        /// <summary>
        /// 物流状态
        /// </summary>
        public string shipment { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string responsible { get; set; }
        /// <summary>
        /// 评论
        /// </summary>
        public string comment { get; set; }

        /// <summary>
        /// 明细列表
        /// </summary>
        public List<SaleOutbound> items { get; set; }
    }

    public class SaleOutbound
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// RowId
        /// </summary>
        public string RowId { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public string date { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string customerName { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public string amount { get; set; }
        /// <summary>
        /// 币别
        /// </summary>
        public string currency { get; set; }

        /// <summary>
        /// 汇率
        /// </summary>
        public string exchangeRate { get; set; }
        /// <summary>
        /// 付款期限
        /// </summary>
        public string paymentTerm { get; set; }
        /// <summary>
        /// 付款状态
        /// </summary>
        public string payment { get; set; }
        /// <summary>
        /// 物流状态
        /// </summary>
        public string shipment { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string responsible { get; set; }
        /// <summary>
        /// 评论
        /// </summary>
        public string comment { get; set; }


        /// <summary>
        /// 产品名称
        /// </summary>
        public string productName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string productNo { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string qty { get; set; }
        /// <summary>
        /// 含税单价
        /// </summary>
        public string unitPrice { get; set; }
        /// <summary>
        /// 含税总价
        /// </summary>
        public string sum { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public string tax { get; set; }
        /// <summary>
        /// 增值税
        /// </summary>
        public string valueAddedTax { get; set; }
        /// <summary>
        /// 合计
        /// </summary>
        public string total { get; set; }

    }
}
